//
//  MyQASectionHeaderView.h
//  BaseProject
//
//  Created by 王洋 on 2020/12/15.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonQAModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, MyQASectionHeaderActionType) {
    //eva
    MyQASectionHeaderActionType_del,
};

@interface MyQASectionHeaderView : UIView

@property (weak, nonatomic) IBOutlet UIButton *xiajiaBtn;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *xiajiaHeight;


@property (weak, nonatomic) IBOutlet UILabel *timeLab;

@property (weak, nonatomic) IBOutlet UILabel *contentLab;

@property (weak, nonatomic) IBOutlet UIButton *delBtn;


@property (weak, nonatomic) IBOutlet UILabel *huidaLab;

@property (nonatomic, copy) void(^MyQASectionHeaderViewBlock)(MyQASectionHeaderActionType type);

+(CGFloat)calculateHWithModel:(CommonQAModel *)model;

- (void)fillWithModel:(CommonQAModel *)model;

@end

NS_ASSUME_NONNULL_END
